<template>
  <div class="hot">
    <div class="top">
      <img :src="hotItem.coverImgUrl" alt="" />
    </div>
    <div class="foot Vue2Text">{{ hotItem.name }}</div>
  </div>
</template>

<script>
export default {
  props: {
    hotItem: {
      type: Object,
    },
  },
};
</script>

<style scoped lang="less">
.hot {
  height: 700px;
  width: 500px;
  margin-right: 30px;

  .top {
    height: 500px;
    width: 500px;
    img {
      height: 100%;
      width: 100%;
      border-radius: 50px;
    }
  }
  .foot {
    color: #000;
  }
}
</style>